home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu450.dms / pu450.adf / include / varargs.h < prev   
C/C++ Source or Header  |  2014-06-18  |  317b  |  18 lines

  1.  
  2. /*
  3.  *  VARARGS.H
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _VARARGS_H
  9. #define _VARARGS_H
  10.  
  11. typedef char *va_list;
  12. #define va_dcl    int va_alist;
  13. #define va_start(list) list = (char *)&va_alist;
  14. #define va_end(list)
  15. #define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]
  16.  
  17. #endif
  18.